<!--
 * @Author: mayijun
 * @Date: 2022-05-19 09:44:43
 * @LastEditors: mayijun
 * @LastEditTime: 2022-05-23 16:40:12
-->
<template>
  <el-config-provider :locale="locale">
    <router-view></router-view>
    <favorite-drawer />
  </el-config-provider>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { ElConfigProvider } from 'element-plus/lib/index';
import zhCn from 'element-plus/lib/locale/lang/zh-cn';

import FavoriteDrawer from '@/views/indexlib/components/favoriteDrawer/index';

export default defineComponent({
  name: 'App',
  components: {
    [ElConfigProvider.name]: ElConfigProvider,
    FavoriteDrawer
  },
  data() {
    return {
      locale: zhCn
    };
  }
});
</script>

<style lang="scss">
#app {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC Medium',
    PingFang SC, Microsoft YaHei, 'Helvetica Neue', Helvetica, STHeiTi,
    sans-serif;
  height: 100%;
  overflow: hidden;
  color: #33353b;
}
</style>
